<template>
	<view class="ge">
		<view class="journal_floor2_item1">
			<view class="journal_floor2_item1_lft"></view>
			<view class="journal_floor2_item1_rgt">天气指数</view>
		</view>
		<view class="ge_floor1">
			<view class="ge_floor1_box" @click="go(1)">
				<image class="ge_floor1_box_img" src="../../../static/img/tabbar/homeactive.png" mode=""></image>
				<view class="ge_floor1_box_text">
					天气生活指数
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {}
		},
		onLoad() {

		},
		methods: {
			http() {
				uni.request({
					url: "https://devapi.qweather.com/v7/weather/now",
					data: {
						location: this.$store.state.city.id,
						key: this.$store.state.key
					},
					method: "get",
					success: (res) => {
						console.log(res)
						this.shiData = res.data.now
					},
				});
			},
		}
	}
</script>

<style>
	@import "../../../common/css/ToDoList.css";

	.journal_floor2_item1 {
		margin: 0 30rpx;
		margin-top: 38rpx;
		display: flex;
		align-items: center;
	}

	.journal_floor2_item1_lft {
		width: 10rpx;
		height: 24rpx;
		background: #3f74f8;
	}

	.journal_floor2_item1_rgt {
		font-size: 32rpx;
		font-weight: 600;
		color: #000000;
		margin-left: 8rpx;
	}
</style>
